export default function getData() {
  const fetchData = async () => {
    const response = await fetch(
      "http://127.0.0.1:5001/getPerson"
    );
    console.log(response)
  }

  return {
    fetchData
  }
}